// diy_api_cityPicker.js
function showCitySelecter(callBack){
	jsonFile(function(cityJson){
		var UIActionSelector = api.require('UIActionSelector');
	    UIActionSelector.open({
            datas: cityJson,
	        layout: {
	            row: 5, 
	            col: 3,
	            height: 30, 
	            size: 12,
	            sizeActive: 14,
	            rowSpacing: 5,
	            colSpacing: 10,
	            maskBg: 'rgba(0,0,0,0.2)',
	            bg: '#fff',
	            color: '#888',
	            colorActive: '#18b4ed', 
	            colorSelected: '#18b4ed'
	        },
	        animation: true,
	        cancel: {
	            text: '取消', 
	            size: 12,
	            w: 90,  
	            h: 35,
	            bg: '#fff',
	            bgActive: '#ccc',
	            color: '#888',
	            colorActive: '#fff'
	        },
	        ok: {
	            text: '确定',
	            size: 12,
	            w: 90,
	            h: 35,
	            bg: '#fff',
	            bgActive: '#ccc',
	            color: '#888',
	            colorActive: '#fff'
	        },
	        title: {
	            text: '请选择',
	            size: 12,
	            h: 44,
	            bg: '#eee',
	            color: '#888'
	        },
	        fixedOn: api.frameName
	    }, function(ret, err) {
	    	callBack(ret, err);
	    });
	    UIActionSelector.show();
	});
}